package de.homelabs.moonrat.template;

import java.io.File;
import java.io.Reader;

import de.homelabs.moonrat.context.plugin.template.ITemplateDataProvider;

public class MoonratTemplate {
	
	private String name;
	private String key;
	private long modificationDate;
	private byte[] content;
	private Reader reader;
	private String templatePath;
	private File file;
	//know your dataprovider!
	private ITemplateDataProvider dataProvider;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getModificationDate() {
		return modificationDate;
	}
	public void setModificationDate(long modificationDate) {
		this.modificationDate = modificationDate;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public byte[] getContent() {
		return content;
	}
	public void setContent(byte[] content) {
		this.content = content;
	}
	public Reader getReader() {
		return reader;
	}
	public void setReader(Reader reader) {
		this.reader = reader;
	}
	public String getTemplatePath() {
		return templatePath;
	}
	public void setTemplatePath(String templatePath) {
		this.templatePath = templatePath;
	}
	public File getFile() {
		return file;
	}
	public void setFile(File file) {
		this.file = file;
	}
	public ITemplateDataProvider getDataProvider() {
		return dataProvider;
	}
	public void setDataProvider(ITemplateDataProvider dataProvider) {
		this.dataProvider = dataProvider;
	}
}
